package CourseSelection;

import People_Peo.People;

class  Student extends People{
	private String Hoom;
	Student(String n, int cage, int b, String x,String h) {
		super(n, cage, b, x);
		Hoom = h;
	}
	public String getHoom(){
		return Hoom;
	}
}

/*
 * public class Student {
 * 
 * private int Age; private String Name; private int Number; private String Sex;
 * Student(String n,int cage,int b,String x){ Name = n; if(cage<30&&cage>15) {
 * Age = cage; }else {Age = 18;} Number = b; Sex = x; } public int getAge(){
 * 
 * return Age; } public String getName() { return Name; } public int getNumber()
 * { return Number; }
 * 
 * public String getSex() { return Sex; }
 * 
 * 
 * 
 * }
 */